package cn.epsilon3.utils;

/**
 * @description handler bean获取
 *
 * @author: epsilon3
 * @date: 2023/8/27 2:45
 */
public class BeanUtils {

    /**
     * 获取bean实例
     *
     * @param clazz
     * @return
     * @param <T>
     */
    public static <T> T getBean(Class<T> clazz) {
        return SpringContextUtils.getBean(clazz);
    }
}
